package com.ctshk.rpc.insurance.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

@Data
public class InsurancePrdDTO implements Serializable {

    @ApiModelProperty(value = "id主键")
    private Long id;

    @ApiModelProperty(value = "所属资源")
    private Long insuranceId;

    @ApiModelProperty(value = "是否推荐")
    private Integer isRecommend;

    @ApiModelProperty(value = "加幅类型0 加数值	1 加百分比（百分比增幅小数部分需向上取整，如1.56取2.00）")
    private Integer adjustType;

    @ApiModelProperty(value = "金额")
    private BigDecimal amount;

    @ApiModelProperty(value = "百分比")
    private BigDecimal percent;

    @ApiModelProperty(value = "产品来源（1 手动录入	2 API对接）")
    private Integer sourceType;


}
